{% extends 'base.html' %}

{% block title %}Talks{% endblock %}

{% block subheader %}Accepted Talks{% endblock %}

{% block main %}
{% if talks %}
{% for talk in talks %}
{% if talk.talk_status %}
<div class="talk" style="border: 1px solid #e0e0e0; padding: 5px;">
Talk title: <a href="/talks/{{ talk.id }}/">{{ talk.talk_name }}</a><br />
Speaker: {% for speaker in talk.speaker_set.all %}{{ speaker.user }} {% endfor %}<br />
Audience level: {{ talk.level }}<br />
</div>
{% endif %}
{% endfor %}
{% else %}
<p>Sorry! No talks have been accepted yet. Please check back soon.</p>
{% endif %}
{% endblock %}
